<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style> 
div {
background: pink;
width: 555px;
height: 329px;
}

div:hover {
animation-name: example;  
animation-duration: 1s;
animation-fill-mode: forwards;
}


@keyframes example {
  0% {background: pink;
  width: 555px;
height: 329px;
  		}
  100%{box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.25);
  transform: translate(0px, 10px);
  background: pink;
  width: 555px;
height: 329px;}
  
}

</style>
</head>
<body>

<p>此窗口向下浮出效果.</p>
<div>鼠标悬浮我看看效果.</div>

</body>
</html>
